import http from '@/utils/axios.js'

export const loginAPI = (params) => http.post("/login", params);

export const getUserInfo = () => http.get('/admin/user/info');

export const updateAdminPasswordAPI = (params) => http.post("/admin/password/update", params)

export const logoutAPI = () => http.get("/logout")